const mongoose = require('./db')

var OrderItemSchema = mongoose.Schema({
  order_id: String,
  title: String,
  price: Number,
  num: Number
})

var OrderItemModel = mongoose.model('OrderItem', OrderItemSchema, 'order_item')

module.exports = OrderItemModel